package com.baizhi.service.impl;

import com.baizhi.dao.deptDao;
import com.baizhi.entity.dept;
import com.baizhi.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DeptServiceImpl implements DeptService {
@   Autowired
    private deptDao deptDao;
    @Override
    public List<dept> selectCategory() {
        return deptDao.selectCategory();
    }
}
